Decoder circuit which resists a fluctuation of a power supply

ABSTRACT

A decoder circuit includes p-channel MOS transistors P 1  and P 2 , n-channel MOS transistors N 1  to N 4  having gates to which data signals D 1  to D 4  are inputted, respectively, an n-channel MOS transistor N s  connected in series to the n-channel MOS transistors N 1  to N 4  and having a gate to which the precharging signal Φ is inputted, and an n-channel MOS transistor N 5  connected between P 2  and N 1 . In the decoder circuit, the gate of N 5  is connected to the drain of P 2 , and a capacity C H  is connected between the gate of N 5  and a power potential. In a holding state, the power potential is held by the aid of the capacity C H  connected to the gate of N 5 .

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a decoder circuit, and more particularly to a dynamic decoder which resists a noise from a power supply.

2. Description of the Related Art

A conventional dynamic decoder circuit, for example, having four input terminals is constituted as shown in FIG. 4. That is, the circuit includes a p-channel MOS transistor P₁ having a source connected to a power supply VDD and a gate to which a precharging signal Φ is supplied through a buffer 1, and an n-channel MOS transistor N_(s) having a source which is grounded and a gate to which the precharging signal Φ is supplied through the buffer 1. In this circuit, a MOS transistor train consisting of n-channel MOS transistors N₁ to N₄ which are connected to each other in series are inserted between a drain of the p-channel MOS transistor P₁ and a drain of the n-channel MOS transistor Ns. Data signals D₁ to D₄ are supplied to gates G₁ to G₄ of the n-channel MOS transistors N₁ to N₄ through buffers 2 to 5, respectively. In such an arrangement, an output signal V_(out) of the decoder circuit is obtained from the drain of the p-channel MOS transistor P₁.

Subsequently, an operation of the decoder circuit will be described. At first, the precharging signal Φ is set to a L level. At this time, the buffer 1 makes ground potential inputted to the gate of the p-channel MOS transistor P₁ as well as the gate of the n-channel MOS transistor N_(s). Therefore, the p-channel MOS transistor P₁ brings into an on-state whereas the n-channel MOS transistor N₂ brings into an off-state. As a result, the output signal V_(out) becomes a potential of power supply regardless of the levels of the data signals D₁ to D₄ (hereinafter this state being referred to as "a precharging state").

Subsequently, the precharging signal Φ is changed into a H level. At this time, the buffer 1 makes power potential inputted to the gate of the p-channel MOS transistor P₁ as well as the gate of the n-channel MOS transistor N_(s). As a result, the p-channel MOS transistor P₁ is changed into the off-state whereas the n-channel MOS transistor N_(s) is changed into the on-state. Therefore, the output signal V_(out) depends on the levels of the data signals D₁ to D₄. That is, in the case where all of the data signals D₁ to D₄ are at the H level, since the buffers 2 to 5 output power potential, respectively, all of the n-channel MOS transistors N₁ to N₄ bring into the on-state, whereby the output signal V_(out) outputs ground potential (hereinafter this state being referred to as "a sampling state"). On the other hand, if the levels of the data signals D₁ to D₄ are set in such a manner that D₁, D₂ and D₃ are at the H level and D₄ is at the L level, since the buffers 2 to 4 output power potential, the n-channel MOS transistors N₁ to N₃ bring into the on-state. However, the n-channel MOS transistor N₄ brings into the off-state because the buffer 4 outputs ground potential. Hence, the output signal V_(out) holds power potential, which is the output level in the precharging state, as it is (hereinafter this state being referred to as "a holding state").

By the way, in the above-mentioned conventional decoder circuit, there exist floating capacities C₁ to C₃ and C_(L) irrelevant to the nodes of the n-channel MOS transistors N₁ to N₄ and output signal V_(out). An influence of those floating capacities C₁ to C₃ and C_(L) on a signal outputted from the decoder when power potential fluctuates will be described below.

It is assumed that the data signals D₁ to D₄ are set such that D₁ to D₃ are at the H level but D₄ is at the L level. In this case, the decoder circuit is changed from the precharging state to the holding state, and its timing chart is shown in FIG. 5. In the precharging state, when power potential VDD is V₁, the respective gate potentials G₁ to G₄ for the n-channel MOS transistors N₁ to N₄ are so that G₁ to G₃ are V₁ and G₄ is 0. Since the p-channel MOS transistors N₁ to N₄ have a threshold value V_(TN), the respective nodes A to C have a level V₁ -V_(TN).

Thereafter, the precharging signal is changed into the H level so that the decoder circuit comes to the holding state. At this time, because the p-channel MOS transistor P₁ is in the off-state, the output signal V_(out) is held to V₁ by the floating capacity C_(L). At this time, a charge Q_(L) of the floating capacity C_(L) is equal to C_(L) V₁. On the other hand, the levels of the nodes A to C are held to V₁ -V_(TN) because the n-channel MOS transistor N₄ is in the off-state. At this time, the charges Q₁ to Q₃ of the respective floating capacities C₁ to C₃ are represented as follows:

    Q.sub.1 =C.sub.1 (V.sub.1 -V.sub.TN)

    Q.sub.2 =C.sub.2 (V.sub.1 -V.sub.TN)

    Q.sub.3 =C.sub.3 (V.sub.1 -V.sub.TN)

Here, it is assumed that the power potential VDD is changed from V₁ to V₂ where V2-V1≧V_(TN). Although the source of the p-channel MOS transistor P₁ is changed into V₂ in level with fluctuation of power supply, the gate thereof is also changed into V₂ in level by the aid of the buffer 1. The p-channel MOS transistor P₁ is held in the off-state against fluctuation of power supply. On the other hand, the gate potential G₁ to G₃ for the n-channel MOS transistors N₁ to N₃ are moved to V₂ in level by the aid of the buffers 2 and 3 likewise. At this time, because of G₁ =V₂ ≧V_(out) +V_(TN) =V₁ +V_(TN), the node A rises up to the same level as the output signal V_(out). However, because the p-channel MOS transistor P₁ is in the off-state, electric charges which are charged in the floating capacity C_(L) result in transfer. That is, the charges are shared between the floating capacity C_(L) and the floating capacities C₁, C₂ and C₃, as a result of which the output signal V_(out) is fluctuated as follows:

    V.sub.out =V.sub.1 -{(C.sub.1 +C.sub.2 +C.sub.3)/(C.sub.1 +C.sub.2 +C.sub.3 +C.sub.L)}·V.sub.TN

Thereafter, even though power potential VDD is again returned to V₁, the level of the output signal V_(out) is held as it is. If C_(1+C) ₂ +C₃ =C_(L) and VTM =V₁ /2, then the following condition is satisfied.

    V.sub.out ≈V.sub.1 -V.sub.TN =V.sub.1 /2

This means that, if a logical threshold value for a post-stage to which the output signal V_(out) of the decoder circuit is inputted is VDD/2, the level of the output signal V_(out) is logically inverted intentionally. That is, when the fluctuation of power supply exceeds V_(TN), the decoder circuit malfunctions.

As a first countermeasure against the above-described fluctuation of power supply, the floating capacity C_(L), which is set so as to satisfy the condition of C_(L) ≧C₁ +C₂ +C₃, is inserted into the decoder circuit as shown in FIG. 4. A timing chart at this case is shown in FIG. 6. Likewise in the above-described case, the charge sharing occurs against the fluctuation of power supply in the holding state. However, if C_(L) =C₁ +C₂ +C₃ and V_(TN) =V₁ /2, then the output signal V_(out) can be set as follows:

    V.sub.out =V.sub.1 -V.sub.TN /2=3/4 V.sub.1

Likewise in the foregoing case, if a logical threshold value for a post-stage to which the output signal V_(out) of the decoder circuit is inputted is VDD/2, this makes it unnecessary to logically invert the level of the output signal V_(out).

Furthermore, as a second countermeasure against the fluctuation of power supply, there is a decoder circuit shown in FIG. 7. This decoder circuit includes a p-channel MOS transistor P₁ having a source which is connected to a power supply VDD and a gate which inputs a precharging signal Φ through a buffer 11, and an n-channel MOS transistor N_(s) having a source which is connected to ground potential and a gate to which the precharging signal Φ is inputted through the buffer 11. In the decoder circuit, a MOS transistor train consisting of n-channel MOS transistors N₁ to N₄ which are connected in series is inserted between the drain of the p-channel MOS transistor P₁ and the drain of the n-channel MOS transistor N_(s). Data signals D₁ to D₄ are inputted to gates G₁ to G₄ of the n-channel MOS transistors N₁ to N₄ through 2-input type OR buffers 12 to 15, respectively. The precharging signal Φ is inversely inputted to one input terminal of each of the 2 -input type OR buffers 12 to 15. Also, one terminals of capacities C_(H1) to C_(H4) are connected to the gates G₁ to G₄, respectively, whereas the other terminals of the capacities C_(H1) to C_(H4) are commonly connected to each other, and input a step-up signal Φ' through a buffer 16. In this decoder circuit, an output signal V_(out) is obtained from the drain of the p-channel MOS transistor P₁.

Now, an operation of the decoder circuit thus organized will be described with reference to a timing chart shown in FIG. 8.

At first, when the precharging signal Φ is at the L level, the p-channel MOS transistor P₁ is in an on-state and the output signal V_(out) comes to a V₁ level. Also, since the two-input type OR buffers 12 to 15 inversely input the precharging signal Φ, they output a signal of the V₁ level regardless of the levels of the data signals D₁ to D₄, respectively. Nodes A to C between the respective n-channel MOS transistors N₁ to N₄ are precharged up to the levels of V₁ -V_(TN) likewise in the decoder circuit shown in FIG. 4. Subsequently, when the step-up signal Φ' comes to the H level, the respective potentials of the gates G₁ to G₄ rises up to the level of 2 V₁ due to C_(H1) to C_(H4). Hence, because of G₁ =2 V₁ ≧V_(out) +V_(TN) =3/2 V₁, the potential of the node A rises up to the same level as the output signal V_(out). However, unlike the foregoing case, because the p-channel MOS transistor P₁ is in the on-state, the potential of the node A rises up to the level of V₁. Likewise, the potentials of the nodes B and C rise up to the level of V₁. When the step-up signal Φ' comes to the L level, the levels of the gates G₁ to G₄ are changed into V₁ again. However, the levels of the nodes A to C are not changed.

Then, when the precharging signal Φ comes to the H level, the p-channel MOS transistor P₁ is changed into the off-state, and the gates G₁ to G₄ also come to the levels of the data signals D₁ to D₄, respectively. In FIG. 8, the data signals D₁ to D₃ are set to the H level whereas the data signal D₄ is set to the L level, likewise in the foregoing case. Since the n-channel MOS transistor N₄ is in the off-state, the output signal V_(out) is held to the V₁ level. At this time, it is assumed that the power potential VDD fluctuates from V₁ to V₂ (V₂ ≧V₁ +V_(TN)). The gates G₁ to G₃ are changed from V₁ to V₂ with fluctuation of VDD. However, the electric charges in the floating capacities C₁ to C₃ and C_(L) is not transferred anywhere. Hence, the condition of V_(out) =V₁ is held with no change in level of the output signal V_(out). That is, the decoder circuit does not malfunction against the fluctuation of power supply.

The conventional decoder circuit shown in FIG. 4 makes it necessary to increase the capacity C_(L). However, for that reason, it has a drawback that the reading speed is low in the sapling state.

On the other hand, the conventional decoder circuit shown in FIG. 7 has no drawback that the reading speed is low. However, it has a drawback that a lot of additional circuits such as the 2-input OR buffers and the capacities C_(H1) to C_(H4) as well as the control operation using the step-up signal Φ' are required for making the potentials of the gates G₁ to G₄ rise.

SUMMARY OF THE INVENTION

The present invention has been made to eliminate the above-mentioned drawbacks with the conventional decoder circuit, and an object of the invention is to provide a decoder circuit which prevents the reading speed in the sapling state from being low and does not require complicated timing control and a lot of additional circuits.

The above object has been achieved by provision of a decoder circuit, which comprises: a first MOS transistor having a source which is connected to a first power supply and a gate to which a precharging signal is inputted; a second MOS transistor having a source which is connected to a second power supply and a gate to which the precharging signal is inputted, the first MOS transistor being of a type different from that of the second MOS transistor; a first MOS transistor train connected between the drains of the first and second MOS transistors, the first MOS transistor train consisting of a plurality of MOS transistors which are of the same type as the second MOS transistor and connected in series, and the gates of the plurality of MOS transistors to which data signals are inputted, respectively; a third MOS transistor of the same type as the second MOS transistor connected between the drain of the first MOS transistor and the first MOS transistor train; a fourth MOS transistor of the same type as the first MOS transistor, the fourth MOS transistor having a source which is connected to the first power supply, a gate to which the precharging signal is inputted and a drain which is connected to a gate of the third MOS transistor; and a capacity connected between the drain of the fourth MOS transistor and the second power supply, to thereby obtain an output signal from a drain of the first MOS transistor.

The above and other objects and features of the present invention will be more apparent from the following description taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a general diagram showing a decoder circuit in accordance with one embodiment of the present invention;

FIG. 2 is a diagram showing a dynamic circuit used in the decoder circuit according to the embodiment of the invention;

FIG. 3 is a timing chart representing the operation of the decoder circuit shown in FIG. 2;

FIG. 4 is a diagram showing one example of a conventional decoder circuit;

FIG. 5 is a first timing chart representing the operation of the decoder circuit shown in FIG. 4;

FIG. 6 is a second timing chart representing the decoder circuit shown in FIG. 4;

FIG. 7 is a diagram showing another example of the conventional decoder circuit; and

FIG. 8 is a timing chart representing the operation of the decoder circuit shown in FIG. 7.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Now, description will be given of an embodiment in accordance with the present invention with reference to the accompanying drawings.

FIG. 1 is a general diagram showing a decoder circuit in accordance with one embodiment of the present invention. In FIG. 1, the decoder circuit is arranged so as to decode input data signals D₁ to D₄ in the form of 4 bits to generate output signals V_(out) 1 to V_(out) 16. The respective data signals D₁ to D₄ are used to generate true and complementary signals which are inputted to dynamic circuits 20-1 to 20-16 having different combination of the signals inputted thereto, respectively, as shown in FIG. 1. Since all of the dynamic circuits 20-1 to 20-16 are formed by the same circuit arrangement, for simplification of the description, one dynamic circuit 20-1 among the circuits 20-1 to 20-16 is shown in FIG. 2 as one example in detail.

The dynamic circuit 20-1 shown in FIG. 2 includes a p-channel MOS transistor P₁ having a source which is connected to a power supply VDD and a gate which inputs a precharging signal Φ through a buffer 1, and an n-channel MOS transistor N_(s) having a source which is connected to the ground potential and a gate which inputs the precharging signal Φ through the buffer 1. In the dynamic circuit, a MOS transistor train consisting of n-channel MOS transistors N₁ to N₄ which are connected in series is inserted between the drain of the p-channel MOS transistor P₁ and the drain of the n-channel MOS transistor N_(s). Input data signals D₁ to D₄ are inputted to gates G₁ to G₄ of the n-channel MOS transistors N₁ to N₄ through buffers 2 to 5, respectively. Further, an n-channel MOS transistor N₅ is inserted between the drain of the n-channel MOS transistor N₁ and the p-channel MOS transistor P₁. Moreover, the source of a p-channel MOS transistor P₂ is connected to the power supply VDD, and the gate of the p-channel MOS transistor P₂ receives the precharging signal Φ through the buffer 1. The drain of the p-channel MOS transistor P₂ is connected to the gate of the n-channel MOS transistor N₅ and also to the ground potential through a capacity C_(H). In the dynamic circuit, an output signal V_(out) 1 is obtained from the drain of the p-channel MOS transistor P₁.

Now, an operation of the dynamic circuit 20-1 shown in FIG. 2 will be described. At first, when the precharging signal Φ is at the ground level indicative of L level, both of the p-channel MOS transistors P₁ and P₂ are in an on-state and an output signal V_(out) 1 from the respective drains of those transistors P₁ and P₂ as well as an node D therebetween has a power potential VDD which is equal to V₁. At this time, the capacity C_(H) is charged with electric charges of Q_(H) =C_(H) V₁. On the other hand, if the levels of the input data signals D₁ to D₄ are set such that D₁, D₂ and D₃ are at the H level, but D₄ is at the L level, since the buffers 2 to 4 output power potential VDD=V₁, respectively, the potentials of the gates G₁ to G₃ are equal to V₁.

If a threshold value of the n-channel MOS transistors is V_(TN) (=1/2 V₁), then the potential at a node E between the n-channel MOS transistors N₅ and N₁ satisfies the condition of E=V₁ -V_(TN). Similarly, the nodes A to C between the n-channel MOS transistors N₁ to N₃ satisfy the condition of A=B=C=V₁ -V_(TN). At this time, the floating capacities C₀ to C₃ connected to the respective nodes are charged with the following electric charges.

    Q.sub.0 =C.sub.0 (V.sub.1 -V.sub.TN)

    Q.sub.1 =C.sub.1 (V.sub.1 -V.sub.TN)

    Q.sub.2 =C.sub.2 (V.sub.1 -V.sub.TN)

    Q.sub.3 =C.sub.3 (V.sub.1 -V.sub.TN)

Subsequently, when the precharging signal Φ comes to the power voltage VDD indicative of level, then the p-channel MOS transistor P₁ and P₂ are changed into the off-state. At this time, the node D is held to V₁ by the capacity C_(H). On the other hand, the n-channel MOS transistor N_(s) changes into the on-state, however, since the n-channel MOS transistor N₄ is in the off-state, the nodes E and A to C are held to the level of V₁ -V_(TN), respectively, but V_(out) 1 is held to the level of V1.

In this state, it is assumed that the power potential VDD is changed from V₁ V₂ (V₂ ≧V₁ +V_(TN)).

At this time, because the output signal of the buffer 1 also fluctuates from V₁ to V₂ simultaneously, both of the p-channel MOS transistors P₁ and P₂ are held in the off-state. Hence, the level V₁ of the node D is held as it is. Accordingly, because of D=V₁ <V_(out) +V_(TN) =V₁ +V_(TN), the node E is also held to the level of V₁ -V_(TN). The node G₁ fluctuates to V₂ due to the buffer 2. However, since both of the nodes E and A have the level of V₁ -V_(TN), electric charges are not transferred anywhere so that the node A comes to V₁ -V_(TN). Therefore, because the output signal V_(out) is held to the level of V₁, the dynamic circuit does not malfunction against the fluctuation of power supply.

As was described above, the present invention can realize a decoder circuit which does not require to add a capacity to an output terminal of the decoder circuit, does not share electric charges against the fluctuation of power supply only by adding two MOS transistors and one capacity, and does not malfunction.

As a result, the reading speed in the sampling state is prevented from being low, and a complicated timing control and a lot of additional circuits are not required, thereby being capable of providing a decoder circuit with ease and high performance.

The foregoing description of a preferred embodiment of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed, and modifications and variations are possible in light of the above teachings or may be acquired from practice of the invention. The embodiment was chosen and described in order to explain the principles of the invention and its practical application to enable one skilled in the art to utilize the invention in various embodiments and with various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the claims appended hereto, and their equivalents. 

What is claimed is:
 1. A transistor circuit, comprising:an output terminal; a first MOS transistor having a source connected to a first power supply, a gate receiving a precharging signal, and drain connected to said output terminal; a second MOS transistor having a source connected to a second power supply and a gate receiving said precharging signal, said first MOS transistor being of a type different from that of said second MOS transistor; a plurality of third MOS transistors of the same type as said second MOS transistor connected in series connected between a drain of said second MOS transistor and a circuit node, said third MOS transistors receiving at gates thereof data signals, respectively; a fourth MOS transistor of the same type as said second MOS transistor connected between said output terminal and said circuit node; and a fifth MOS transistor of the same type as said first MOS transistor having a source connected to said first power supply, a gate receiving said precharging signal and a drain connected to a gate of said fourth MOS transistor.
 2. The transistor circuit as claimed in claim 1, further comprising a capacitor connected between the gate of said fourth MOS transistor and said second power supply.
 3. A decoder circuit comprising an output node, first precharging means for precharging said output node to a first potential in response to a precharging signal, a transistor circuit having first and second nodes and at least one first transistor coupled between said first and second nodes and receiving at a gate thereof an input signal, a second transistor inserted between said output node and said first node of said transistor circuit, and second precharging means for precharging a gate of said second transistor to said first potential in response to said precharging signal.
 4. The decoder circuit as claimed in claim 3, further comprising discharging means for discharging said second node of said transistor circuit to a second potential when said precharging signal disappears.
 5. The decoder circuit as claimed in claim 4, wherein said first precharging means includes a third transistor connected between a first power supply line supplying said first potential and said output node and having a gate supplied with said precharging signal, said discharging means including a fourth transistor connected between a second power supply line supplying said second potential and said second node and having a gate supplied with said precharging signal, said second precharging means including a fifth transistor connected between said first power supply line and said gate of said second transistor and having a gate supplied with said precharging signal, said third and fifth transistor are of a first channel type, and said fourth transistor is of a second channel type. 